import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {AdminComponent} from './admin.component';
import { AdminSubjectComponent } from './admin-subject/admin-subject.component';
import { AdminViewComponent } from './admin-view/admin-view.component';
import { AdminElementComponent } from './admin-element/admin-element.component';
import {RouterModule} from '@angular/router';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {FormsModule} from '@angular/forms';



@NgModule({
  declarations: [AdminComponent, AdminSubjectComponent, AdminViewComponent, AdminElementComponent],
  imports: [
    CommonModule,
    NgZorroAntdModule,
    FormsModule,
    RouterModule.forChild([
      { path: '', component: AdminComponent, pathMatch: 'full'}
    ]),
  ]
})
export class AdminModule { }
